package com.haoze.nurse.dao;

import com.haoze.common.mapper.MyMapper;
import com.haoze.nurse.model.AtomizeMedReturnEntity;
import com.haoze.nurse.model.OrdersSignEntity;
import com.haoze.nurse.vo.OrderInfoByInpatNoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrdersSignMapper extends MyMapper<OrdersSignEntity> {

    List<Map<String, String>> querySign(@Param("inpatorderdataIds") List<String> inpatorderdataIds, @Param("freqTimes") List<String> freqTimes, @Param("inpatNum") String inpatNum
            , @Param("signType") String signType);


    Integer queryLevel(@Param("userId") String userId);

    List<Map<String, Object>> getGroupLevel(String userId);

    List<Map<String, Object>> getPositionLevels(String userId);

    List<Map<String, Object>> getEnergyLevel(String userId);

    String getVarValueByVarCode(@Param("varCode") String varCode);

    Map<String, String> getUser(@Param("userId") String userId);

    Map<String, String> getSysUser(@Param("loginName") String loginName);

    int saveOrUpdate(OrdersSignEntity entity);

    Map<String, String> queryItinerarySign(@Param("inpatorderdataId") String inpatorderdataId, @Param("freqTime") String freqTime);


}
